<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled</title>
<link rel="stylesheet" href="__PUBLIC__/Green/css/global.css" />
<link href="__PUBLIC__/Green/css/bootstrap.css" rel='stylesheet' type='text/css' />
<script src="__PUBLIC__/Green/js/jquery-1.11.0.min.js"></script>
</head>
<body>
  <form id="frm" name="form" action="__SELF__">
      <div class="form-group">
        <label for="c_lcn_no">车牌号码</label>
        <input type="text" class="form-control" id="c_lcn_no" name="c_lcn_no" placeholder="车牌号码">
      </div>
      <div class="form-group">
        <label for="c_dpt_cde">系统市区代码</label>
        <input type="text" class="form-control" id="c_dpt_cde" name="c_dpt_cde" placeholder="系统市区代码">
      </div>
      <div class="form-group">
        <label for="c_eng_no">发动机号</label>
        <input type="text" class="form-control" id="c_eng_no" name="c_eng_no" placeholder="发动机号">
      </div>
      <div class="form-group">
        <label for="c_vhl_frm">车架号</label>
        <input type="text" class="form-control" id="c_vhl_frm" name="c_vhl_frm" placeholder="车架号">
      </div>
      <div class="form-group">
        <label for="c_brnd_cde">品牌型号</label>
        <input type="text" class="form-control" id="c_brnd_cde" name="c_brnd_cde" placeholder="品牌型号">
      </div>
      <div class="form-group">
        <label for="c_drv_owner">行驶证车主</label>
        <input type="text" class="form-control" id="c_drv_owner" name="c_drv_owner" placeholder="行驶证车主">
      </div>
      <div class="form-group">
        <label for="c_fst_reg_dte">车辆初始登记日期</label>
        <input type="date" class="form-control" id="c_fst_reg_dte" name="c_fst_reg_dte" placeholder="车辆初始登记日期">
      </div>
      <div class="form-group">
        <label for="verfycode">TOKEN</label>
        <input type="text" class="form-control" id="token" name="token" value="{$token}">
      </div>
      <button type="submit" class="btn btn-default">递交</button>
  </form>
<script type="text/javascript" src="__PUBLIC__/Green/js/jquery.validate.min.js"></script>
<script type="text/javascript">
$('#frm').validate({
            submitHandler:function(form){
                $.post("__SELF__",$(form).serialize(),function(data){
                    if(data.status){
                       alert(data.info);
                    }else{
                        alert(data.info);
                    }
                },'json');
            } 
        });
</script>
</body>
</html>
